﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCLiLuanChinhTri.ascx.cs" Inherits="Viewer.NhanSu.UserControl.UCLiLuanChinhTri" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<link href="../../resources/css/main.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    body
    {
        color: #57585B; /*dark gray*/
        font-size: 8px;
        font-family: Arial;
    }
</style>
<ext:XScript ID="XScipt1" runat="server">
    <script type="text/javascript">
     
    </script>
</ext:XScript>
<ext:Window ID="wdLiLuan" runat="server" AutoHeight="true" Closable="false"
    Modal="true" Icon="TableCell" Width="470" Layout="Fit" AutoScroll="true" Hidden="true"
    Resizable="true" BodyCssClass="window">
    <Listeners>
    </Listeners>
    <Content>
        <ext:Panel ID="Panel1" runat="server" Frame="false" Border="false" AutoHeight="true"
            Icon="Information" BodyStyle="background-color: white;">
            <Items>
                <ext:Hidden ID="hdParentType" runat="server" />
                <ext:Hidden ID="hdType" runat="server" />
                <ext:Hidden ID="hdNhanVienId" runat="server" />
                <ext:Hidden ID="hdLiLuanID" runat="server" />
                <ext:CompositeField ID="CompositeField1" runat="server">
                    <Items>
                        <ext:Label Width="150" ID="Label1" Text="Bằng cấp" runat="server" />
                        <ext:ComboBox ID="cbbLiLuan" runat="server" DisplayField="CodeValue" Width="150"
                            EmptyText="Lí luận chính trị" ValueField="CodeID">
                            <Store>
                                <ext:Store ID="storeLiLuan" runat="server">
                                    <Reader>
                                        <ext:JsonReader IDProperty="CodeID">
                                            <Fields>
                                                <ext:RecordField Name="CodeID" />
                                                <ext:RecordField Name="CodeValue" />
                                            </Fields>
                                        </ext:JsonReader>
                                    </Reader>
                                </ext:Store>
                            </Store>
                        </ext:ComboBox>
                    </Items>
                </ext:CompositeField>
                <ext:CompositeField ID="CompositeField5" runat="server">
                    <Items>
                        <ext:Label Width="150" ID="Label5" Text="Ngày hiều lực" runat="server" />
                        <ext:DateField Format="dd/MM/yyyy" ID="dtNgayHieuLuc" runat="server" AnchorHorizontal="100%"
                            Width="100" SelectedDate="">
                        </ext:DateField>
                    </Items>
                </ext:CompositeField>
                <ext:CompositeField ID="CompositeField3" runat="server">
                    <Items>
                        <ext:Label Width="150" ID="Label3" Text="Ghi chú" runat="server" />
                        <ext:TextArea ID="txtGhiChu" runat="server" Width="200" />
                    </Items>
                </ext:CompositeField>
            </Items>
        </ext:Panel>
    </Content>
    <Buttons>
        <ext:Button ID="btnSave" runat="server" Text="Lưu" Icon="Disk">
            <DirectEvents>
                <Click OnEvent="btnSave_CLick">
                </Click>
            </DirectEvents>
        </ext:Button>
        <ext:Button ID="Button1" runat="server" Text="Đóng" Icon="Cancel">
            <Listeners>
                <Click Handler="#{wdLiLuan}.hide();" />
            </Listeners>
        </ext:Button>
    </Buttons>
</ext:Window>
